package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Wentifenlei;

/**
 * 问题分类Mapper接口
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public interface WentifenleiMapper 
{
    /**
     * 查询问题分类
     * 
     * @param wtflId 问题分类主键
     * @return 问题分类
     */
    public Wentifenlei selectWentifenleiByWtflId(Long wtflId);

    /**
     * 查询问题分类列表
     * 
     * @param wentifenlei 问题分类
     * @return 问题分类集合
     */
    public List<Wentifenlei> selectWentifenleiList(Wentifenlei wentifenlei);

    /**
     * 新增问题分类
     * 
     * @param wentifenlei 问题分类
     * @return 结果
     */
    public int insertWentifenlei(Wentifenlei wentifenlei);

    /**
     * 修改问题分类
     * 
     * @param wentifenlei 问题分类
     * @return 结果
     */
    public int updateWentifenlei(Wentifenlei wentifenlei);

    /**
     * 删除问题分类
     * 
     * @param wtflId 问题分类主键
     * @return 结果
     */
    public int deleteWentifenleiByWtflId(Long wtflId);

    /**
     * 批量删除问题分类
     * 
     * @param wtflIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWentifenleiByWtflIds(Long[] wtflIds);
}
